package com.suyang.syt.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/** 微信菜单实体类,url为网页链接，用户点击菜单可打开链接，不超过256字节 */
@Entity
@Table(name = "WX_MENU")
@SuppressWarnings("serial")
public class WeixinMenu extends BaseTreeEntity {

	/** 菜单的响应动作类型 */
	private String type;

	/** 菜单KEY值，用于消息接口推送，不超过128字节 */
	private String key;

	/** 返回的回复消息id */
	private long msgReplyId;

	public WeixinMenu() {
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name = "menuKey")
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public long getMsgReplyId() {
		return msgReplyId;
	}

	public void setMsgReplyId(long msgReplyId) {
		this.msgReplyId = msgReplyId;
	}

}
